package au.edu.swin.swinvehicle.vehicletype;

/**
 * VehicleType tranfer object. This is the detailed information of vehicle type.
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-10
 */
import java.io.Serializable;

// We will make the class Serializable so we can easily send it to remote clients.
public class VehicleTypeDetailedTO implements Serializable {

    private Long id;
    private String code;
    private String description;
    private Integer seats;
    private Boolean deleted;

    /**
     * Default constructor
     */
    public VehicleTypeDetailedTO() {
    }

    public VehicleTypeDetailedTO(Long id, String code, String description, Integer seats, Boolean deleted) {
        this.setId(id);
        this.setCode(code);
        this.setDescription(description);
        this.setSeats(seats);
        this.setDeleted(deleted);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSeats() {
        return seats;
    }

    public void setSeats(Integer seats) {
        this.seats = seats;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}
